import request from '@/utils/request'
// 获取考评任务列表接口
export function getList(query) {
    return request({
      url: '/kpExpertRating/list',
      method: 'get',
      params: query
    })
}
// 查询考评任务下关联任务列表
export function glTaskList(query) {
    return request({
      url: '/kpExpertRating/glTask/list',
      method: 'get',
      params: query
    })
}
// 查询关联任务得分详情
export function glTaskDetails(query) {
    return request({
      url: '/kpExpertRating/glTask/details',
      method: 'get',
      params: query
    })
}
// 保存分数
export function glTaskSave(data) {
    return request({
      url: '/kpExpertRating/glTask/save',
      method: 'post',
      data: data
    })
}
// 提交接口
export function glTaskCommit(query) {
    return request({
      url: '/kpExpertRating/glTask/commit',
      method: 'get',
      params: query
    })
}